package com.spider.admin.conf;

public interface StructVar {

    String LOG_INDEX_NAME = "service_logs_index_2024102502";

    /**
     * 默认分页参数-每页记录数量
     */
    int COMMON_DEFAULT_PAGE_SIZE = 10;

    int LOGS_DEFAULT_PAGE_SIZE = 20;


    /**
     * 代理配置块类型
     **/
    String AGENT_CONF_TYPE_SERVER = "server";
    String AGENT_CONF_TYPE_GLOBAL = "global";
    String AGENT_CONF_TYPE_LOCATION = "location";

    /**
     * 代理配置内容状态    0-初始 1-验证失败 2-验证成功 3-发布 4-生效 5-待发布；发布与生效状态只能有一组数据
     **/
    int AGENT_CONF_CONTEXT_STATUS_INIT = 0;
    int AGENT_CONF_CONTEXT_STATUS_VAL_FAIL = 1;
    int AGENT_CONF_CONTEXT_STATUS_VAL_OK = 2;
    int AGENT_CONF_CONTEXT_STATUS_PUBLISHED = 3;
    int AGENT_CONF_CONTEXT_STATUS_ONLINE = 4;
    int AGENT_CONF_CONTEXT_STATUS_UNPUBLISHED = 5;
}
